import { ILv70DramaStepCommand } from "../interfaces/ILv70DramaStepCommand";
import { TDrama } from "../../../../../Message/Db/Tables/TDrama";
import { MsgManager } from "../../../manager/MsgManager";
//class Lv70OpTextTips
    
    export  class Lv70OpTextTips /* flash.display.Sprite */ implements ILv70DramaStepCommand
    {
        

        public dispose(): void
        {
            return;
        }

        public call(arg1: TDrama, arg2: Function=null): void
        {
            this._callback = arg2;
            var loc1=5;
            MsgManager.showTaskTarget(arg1.text, loc1);
            flash.utils.setTimeout(this.callEnd, loc1 * 1000);
            return;
        }

        /* internal  */callEnd(): void
        {
            if (this._callback != null) 
            {
                this._callback.apply();
            }
            return;
        }

        public cancel(arg1: TDrama, arg2: Function=null): void
        {
            return;
        }

        /* internal */ /* var */_callback: Function;
    }
